<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class jQuickForm_Element_SwfUpload extends HTML_QuickForm2_Element_InputFile {
	public function render(HTML_QuickForm2_Renderer $renderer){
		$oid = str_replace("-", "_", $this->getId());
        $renderer->setTemplateForClass(strtolower(get_class($this)),'<div class="jqf_row">
    <label for="{id}" class="jqf_element"><qf:required><span class="required">* </span></qf:required>{label}</label>
	<div id="jqf_errors_'.$oid.'"></div>
	<div id="jqf_list_'.$oid.'"><br class="cc" /></div>
	<input type="hidden" id="jqf_counting_'.$oid.'" value="" />
	{element}
	{comment}

<div class="clear"></div>
</div>');

		return parent::render($renderer);
	}
}
?>